package org.jsbd.boss.service;

import java.util.List;
import java.util.Map;

import org.jsbd.boss.common.DataGridModel;
import org.jsbd.boss.domian.NewExecutionGroup;
import org.jsbd.boss.domian.NewExecutionGroupMark;
import org.jsbd.boss.domian.NewExecutionGroupMarkVO;
import org.jsbd.boss.domian.channel.ChannelApkConfig;
import org.jsbd.boss.domian.channel.NewExecutionGroupMarkDto;

public interface INewExecutionGroupService {

	Map<String, Object> getGroupListWithPage(DataGridModel page, NewExecutionGroupMarkDto dto);

	List<NewExecutionGroupMark> getGroupDetailById(Integer groupId);

	void addGroup(NewExecutionGroup newExecutionGroup);

	NewExecutionGroup getGroupById(Integer id);

	void updateGroup(NewExecutionGroup newExecutionGroup);

	List<NewExecutionGroupMark> getGroupMarkById(Integer id);

	void deleteGroup(Integer id);

	ChannelApkConfig getApkByMark(String mark);

	void addGroupMark(NewExecutionGroupMark newExecutionGroupMark);

	void deleteGroupMark(Integer id);

	List<NewExecutionGroupMarkVO> getSearchDataByGroupId(NewExecutionGroupMarkDto negmDto);
	
	List<NewExecutionGroupMarkVO> getSearchDataTotalByGroupId(NewExecutionGroupMarkDto negmDto);

	NewExecutionGroupMark getMarkByGroupIdAndMark(Integer id, String mark);

	NewExecutionGroup getGroupByName(String groupName);

}
